package com.atjava.webspider.services;

public class UpdateService {

	private static UpdateService service;
	
	private UpdateService (){}
	
	public static UpdateService getInstance(){
		if(service == null){
			service = new UpdateService();
		}
		return service;
	}
	
	public String checkUpdate(){
		
		return null;
	}
	
	public void visitHome(){
		try {
			Runtime.getRuntime().exec
			("C:\\Program Files\\Internet Explorer\\iexplore.exe http://www.atjava.com");
		} catch (Exception e1) {
			e1.printStackTrace();
		}
	}
	public static void main(String[] args) {
		UpdateService.getInstance().visitHome();
	}
}
